package com.ruoyi.stock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 股票行情对象 stock_market
 *
 * @author ruoyi
 * @date 2025-08-05
 */
@Data
public class StockMarket extends BaseEntity {

    /**
     * 年涨停
     */
    private Long id;

    /**
     * 时间周期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间周期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stDate;

    /**
     * 股票编码
     */
    @Excel(name = "代码")
    private String stCode;

    /**
     * 股票名称
     */
    @Excel(name = "名称")
    private String stName;

    /**
     * 涨跌幅(%)
     */
    @Excel(name = "涨幅%")
    private String increase;

    /**
     * 现价
     */
    @Excel(name = "现价")
    private BigDecimal curPrice;

    /**
     * 涨速
     */
    @Excel(name = "涨速%")
    private String increaseRate;

    /**
     * 振幅
     */
    @Excel(name = "振幅%")
    private String amplitude;



    /**
     * 换手Z
     */
    @Excel(name = "换手Z")
    private String changeHandsZ;

    /**
     * 几天几板
     */
    @Excel(name = "几天几板")
    private String dayBoard;

    /**
     * 连板天
     */
    @Excel(name = "连板天")
    private Long topNum;

    /**
     * 封单额
     */
    @Excel(name = "封单额")
    private String topBoardMoney;

    /**
     * 涨跌
     */
    @Excel(name = "涨跌")
    private String increasePrice;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    private String totalDealMoney;

    /**
     * 流通市值Z
     */
    @Excel(name = "流通市值Z")
    private String circulationValue;

    /** 3日涨幅 */
    @Excel(name = "3日涨幅%")
    private String day3;

    /** 10日涨幅 */
    @Excel(name = "10日涨幅%")
    private String day10;

    /** 20日涨幅 */
    @Excel(name = "20日涨幅%")
    private String day20;

    /**
     * 行业
     */
    @Excel(name = "细分行业")
    private String industry;

    /**
     * 总量
     */
    @Excel(name = "总量")
    private String totalNum;

    /**
     * 昨涨幅
     */
    @Excel(name = "昨涨幅%")
    private String yesIncrease;


    /** 60日涨幅 */
    @Excel(name = "60日涨幅%")
    private String day60;

    /**
     * 一年涨幅
     */
    @Excel(name = "一年涨幅")
    private String yearIncrease;

    /**
     * 年初至今
     */
    @Excel(name = "年初至今%")
    private String yearNow;

    /**
     * 月初至今
     */
    @Excel(name = "月初至今%")
    private String monNow;

    /**
     * 年涨停
     */
    @Excel(name = "年涨停天")
    private String yearTop;

    @Excel(name = "距5日线%")
    private String distanceFive;

}
